package com.sumainfor.pc.gmio.service.impl.market;

import com.sumainfor.pc.gmio.dao.MktFeign.KeepMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 功能描述:
 * 管家评价
 * @Auther: zhlu
 * @Date: 2019/4/6 19:28
 * @Description:
 */
@Service
public class KeepService {

    @Autowired
    KeepMapper KeepMapper;

    /**
     * 功能描述: 
     * 根据管家编号获取评价的分数，如果没有分数默认五分
     * @Author zhlu
     * @Description //TODO
     * @Date 2019/4/6 19:28
     */
    public Map<String,Object> getKeepAvgRangeMap(Map<String,Object>params){
        Map<String,Object> getKeepAvgRangeMap=KeepMapper.getKeepAvgRangeMap(params);
        return getKeepAvgRangeMap;
    }

}
